package com.bolang.onlycode.demo.job;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.Scheduler;
import org.springframework.scheduling.quartz.QuartzJobBean;



public class JobTest extends QuartzJobBean {
    private String name;
    public void setName(String name) {
        this.name = name;
    }


    @Override
    protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
        System.out.println(Thread.currentThread().getName());
    }
}
